# 检测模块 - 包含所有数据检测功能
from config import *
from inspections_mdtrt import (
    inspect_a01_duplicate_mdtrt_ids,
    inspect_a02_invalid_hsp_ids,
    inspect_a03_hsp_lv_consistency,
    inspect_a04_certificate_consistency,
    inspect_a05_person_name_consistency,
    inspect_a06_gender_consistency,
    inspect_a07_birth_date_consistency
)
from inspections_setl import (
    inspect_b01_duplicate_setl_ids,
    inspect_b02_duplicate_mdtrt_ids,
    inspect_b03_setl_id_not_in_mdtrt,
    inspect_b04_setl_time_consistency,
    inspect_b05_setl_in_date_check,
    inspect_b06_setl_out_date_check,
    inspect_b07_setl_time_out_date_check
)
from inspections_fee import (
    inspect_c01_setl_id_not_in_fee,
    inspect_c02_fee_time_before_adm_time,
    inspect_c03_fee_time_after_dsc_time,
    inspect_c04_fee_sum_c_vs_setl_gnr_c,
    inspect_c05_fee_sum_b_vs_setl_gnr_b,
    inspect_c06_fee_qp_vs_c
)
from inspections_dx import (
    inspect_d01_diagnosis_main_count,
    inspect_d02_setlid_not_in,
    inspect_d03_setlid_not_in_mdtrt
)
from inspections_tx import (
    inspect_e01_surgery_main_count,
    inspect_e02_tx_time_vs_in_time,
    inspect_e03_tx_time_vs_dsch_time
)
from inspections_primary import (
    inspect_x01_table_exists,
    inspect_x02_column_exists,
    inspect_x03_primary_key_uniqueness,
    inspect_x04_not_null,
    inspect_x05_column_type_mismatch,
    inspect_x06_extra_columns
)
